package org.song.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel("好友关联实体")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Friends {

    @ApiModelProperty( value = "主键" , notes = "主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "用户ID" , notes = "用户ID")
    private Long uid;

    @ApiModelProperty(value = "好友ID" , notes = "好友ID")
    private Long friendId;

    @ApiModelProperty(value = "添加好友时间" , notes = "添加好友时间")
    private Date createTime;
}
